Fox's Git Mirrors
Node / rns-mirrors / Reticulum-Go.git / files / examples / pageserver / vendor / github.com / mdlayher / socket / CHANGELOG.md
examples/pageserver/vendor/github.com/mdlayher/socket/CHANGELOG.md 9eb1d8a4a2c2fa7c16a4586f6227eaf9f617c5cc (9eb1d8a4) Text, 3.29 KB
CHANGELOG
v0.4.1
• [Bug Fix] commit:
ensure T383838socket.Conn can be used with non-socket file descriptors by handling
T383838ENOTSOCK in the constructor.
v0.4.0
**This is the first release of package socket that only supports Go 1.18+.
Users on older versions of Go must use v0.3.0.**
• [Improvement]: drop support for older versions of Go so we can begin using
modern versions of T383838x/sys and other dependencies.
v0.3.0
This is the last release of package socket that supports Go 1.17 and below.
• [New API/API change] PR:
numerous T383838socket.Conn methods now support context cancelation. Future
releases will continue adding support as needed.
• New T383838ReadContext and T383838WriteContext methods.
• T383838Connect, T383838Recvfrom, T383838Recvmsg, T383838Sendmsg, and T383838Sendto methods now accept
a context.
• T383838Sendto parameter order was also fixed to match the underlying syscall.
v0.2.3
• [New API] commit:
T383838socket.Conn has new T383838Pidfd* methods for wrapping the T383838pidfd_*(2) family of
system calls.
v0.2.2
• [New API] commit:
T383838socket.Conn has new T383838IoctlKCM* methods for wrapping T383838ioctl(2) for T383838AF_KCM
operations.
v0.2.1
• [New API] commit:
T383838socket.Conn has a new T383838SetsockoptPacketMreq method for wrapping
T383838setsockopt(2) for T383838AF_PACKET socket options.
v0.2.0
• [New API] commit:
T383838socket.FileConn can be used to create a T383838socket.Conn from an existing
T383838os.File, which may be provided by systemd socket activation or another
external mechanism.
• [API change] commit:
T383838socket.Conn.Connect now returns the T383838unix.Sockaddr value provided by
T383838getpeername(2), since we have to invoke that system call anyway to verify
that a connection to a remote peer was successfully established.
• [Bug Fix] commit:
check the correct error from T383838unix.GetsockoptInt in the T383838socket.Conn.Connect
method. Thanks @vcabbage!
v0.1.2
• [Bug Fix]: T383838socket.Conn.Connect now properly checks the T383838SO_ERROR socket
option value after calling T383838connect(2) to verify whether or not a connection
could successfully be established. This means that T383838Connect should now report
an error for an T383838AF_INET TCP connection refused or T383838AF_VSOCK connection
reset by peer.
• [New API]: add T383838socket.Conn.Getpeername for use in T383838Connect, but also for
use by external callers.
v0.1.1
• [New API]: T383838socket.Conn now has T383838CloseRead, T383838CloseWrite, and T383838Shutdown
methods.
• [Improvement]: internal rework to more robustly handle various errors.
v0.1.0
Served by rngit 1.5.4 - Generated in 0.02s